package com.cdxy.dmr.dataObject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 景点表
 * </p>
 *
 * @author autoGenCode
 * @since 2020-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Scene对象", description = "景点表")
@TableName("scene")
public class SceneDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "scene_id", type = IdType.AUTO)
    private Integer sceneId;

    @ApiModelProperty(value = "景点名")
    private String name;

    @ApiModelProperty(value = "小图")
    private String smallImg;

    @ApiModelProperty(value = "景点简略介绍")
    private String overview;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "搜索次数")
    private Integer searchNum;

    @ApiModelProperty(value = "评论数")
    private Integer reviewNum;

    @ApiModelProperty(value = "景点排名")
    private Integer ranking;

    @ApiModelProperty(value = "景点星级")
    private Integer star;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "景点标签（多个标签 , 分割）")
    private String tag;

    @ApiModelProperty(value = "主题")
    private String theme;

    @ApiModelProperty(value = "门票（以分为单位。如 1元 = 100分）")
    private Integer price;

    @ApiModelProperty(value = "入景规则")
    private String rule;

    @ApiModelProperty(value = "营业时间")
    private String openTime;

    @ApiModelProperty(value = "交通信息")
    private String trafficBus;

    @ApiModelProperty(value = "推荐")
    private String recommend;

    @ApiModelProperty(value = "预订须知")
    private String bookNotice;

    @ApiModelProperty(value = "门票列表")
    private String disTickets;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
